(a) reduced the amount of salaries or wages for the purpose of computing,i. in the case of assistance referred to in subparagraph a of the first paragraph of section 1029.8.36.72.21, the amount that the qualified corporation is deemed to have paid to the Minister for a taxation year under subparagraph a of the first paragraph of section 1029.8.36.72.16 or 1029.8.36.72.17, or
ii. in the case of assistance referred to in subparagraph b of the first paragraph of section 1029.8.36.72.21, the excess amount referred to in subparagraph a or c of the first paragraph of section 1029.8.36.72.18 determined, in respect of a calendar year, in relation to all of the qualified corporations that are associated with each other;